<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
	<div class="row">
		<div class="col-sm-12">
			<div class="ibox float-e-margins">
				<div class="ibox-content">
					<form class="form-horizontal m-t" id="signupForm">
						<input id="irriId" name="irriId" th:value="${irrigationDO.irriId}" type="hidden">
						<div class="form-group">
							<label class="col-sm-3 control-label">种植批次：</label>
							<div class="col-sm-8">
								<input id="batch" name="batch" th:value="${irrigationDO.batch}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">灌溉时间：</label>
							<div class="col-sm-8">
								<input id="irrigationTime" name="irrigationTime" th:value="${#dates.format(irrigationDO.irrigationTime,'yyyy-MM-dd HH:mm')}" class="form-control" type="datetime-local">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">灌溉时长：</label>
							<div class="col-sm-8">
								<input id="longTime" name="longTime" th:value="${irrigationDO.longTime}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">灌溉量：</label>
							<div class="col-sm-8">
								<input id="irrigationVolume" name="irrigationVolume" th:value="${irrigationDO.irrigationVolume}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">水矿物质含量：</label>
							<div class="col-sm-8">
								<input id="content" name="content" th:value="${irrigationDO.content}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">水源：</label>
							<div class="col-sm-8">
								<input id="waterOrigin" name="waterOrigin" th:value="${irrigationDO.waterOrigin}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">负责人：</label>
							<div class="col-sm-8">
								<input id="principal" name="principal" th:value="${irrigationDO.principal}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-3 control-label">联系方式：</label>
							<div class="col-sm-8">
								<input id="telephone" maxlength="11" name="telephone" th:value="${irrigationDO.telephone}" class="form-control" type="text">
							</div>
						</div>
						<div class="form-group">
							<div class="col-sm-8 col-sm-offset-3">
								<button type="button" onclick="save(1)" class="btn btn-primary">提交</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/blog/irrigation/edit.js">

</script>
</body>
</html>
